package edu.java.lectures.lec09.exceptions.hierarchy;

import edu.java.lectures.lec09.exceptions.creation.MySubException;
import edu.java.lectures.lec09.exceptions.creation.MySubSubException;

public class MyClass {

    public MyClass() {
    }

    public void doSomething1() throws MySubException {
	throw new MySubException("Problem in method MyClass#doSomething1()");
    }

    public void doSomething2() throws MySubSubException {
	throw new MySubSubException("Problem in method MyClass#doSomething2()");
    }
}
